package com.cms.common.model.services;

import com.cms.common.model.entity.Article;
import com.cms.common.model.vo.RequestData;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ArticleService {

    public Page<Article> getAllByPage(RequestData requestData);

    public Article getById(Long id);

    public Article addArticle(Article article);

    public void deleteArticle(Article article);

    public List<Article> getAll();
}
